package cn.com.zh.app.collector.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.com.zh.app.collector.dto.CollectionURLDTO;
import cn.com.zh.app.collector.service.CollectionURLService;
import cn.com.zh.app.dao.CollectionURLDao;

@Service
public class CollectionURLServiceImpl implements CollectionURLService {

	
//	@Resource(name="collectionURLDao")
	private CollectionURLDao dao;
	public CollectionURLDTO querySingleInfoByParam(CollectionURLDTO dto) {
		// TODO Auto-generated method stub
		return dao.querySingleInfoByParam(dto);
	}

	public List<CollectionURLDTO> queryListInfoByParam(CollectionURLDTO dto) {
		// TODO Auto-generated method stub
		return dao.queryListInfoByParam(dto);
	}

	public int saveSingleInfo(CollectionURLDTO dto) {
		// TODO Auto-generated method stub
		return dao.saveSingleInfo(dto);
	}

	public int saveBatchInfo(List<CollectionURLDTO> list) {
		// TODO Auto-generated method stub
		return dao.saveBatchInfo(list);
	}

}
